#ifndef CORTROLSET_H
#define CORTROLSET_H

#include <QWidget>
#include <QDebug>
namespace Ui {
class cortrolSet;
}

class cortrolSet : public QWidget
{
    Q_OBJECT

public:
    explicit cortrolSet(QWidget *parent = nullptr);
    ~cortrolSet();
    void openAdmin(bool flag);

protected:
    void showEvent(QShowEvent *event)
    {
        QWidget::showEvent(event);
        emit WidgetShown();
    }

private:
    Ui::cortrolSet *ui;
    void initsThis();
signals:
    void save();
    void WidgetShown();
};

#endif // CORTROLSET_H
